package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.MatchOddsRecord;
import org.hxyjs.entity.MatchOddsRecordExample;

@Mapper
public interface MatchOddsRecordMapper {
    long countByExample(MatchOddsRecordExample example);

    int deleteByExample(MatchOddsRecordExample example);

    int deleteByPrimaryKey(String morno);

    int insert(MatchOddsRecord record);

    int insertSelective(MatchOddsRecord record);

    List<MatchOddsRecord> selectByExample(MatchOddsRecordExample example);

    List<MatchOddsRecord> getMatchOddsRecordByPage(Map<String, Object> map);

    String getMaxMorno();

    MatchOddsRecord selectByPrimaryKey(String morno);

    int updateByExampleSelective(@Param("record") MatchOddsRecord record, @Param("example") MatchOddsRecordExample example);

    int updateByExample(@Param("record") MatchOddsRecord record, @Param("example") MatchOddsRecordExample example);

    int updateByPrimaryKeySelective(MatchOddsRecord record);

    int updateByPrimaryKey(MatchOddsRecord record);
}